<table class="table  table-hover  m-b-none">
    <thead>
    <tr>
        <th width="90" class="th-sortable" data-sort-name="u.user_id">UID</th>
        <th width="120">注册手机</th>
        <th width="100">昵称</th>
        <th width="120">推荐人</th>
        <th width="120">所属上级</th>
        <th width="150">身份|等级</th>
        <th width="100">帐户积分</th>
        <th width="100">购物积分</th>
        <th width="130">最近登陆</th>
        <th width="80">操作</th>
    </tr>
    </thead>
    <tbody>

    {volist name="data.list" id="vo" }
    <tr>
        <td>{$vo.user_id}</td>
        <td>{$vo.mobile}</td>
        <td>{$vo.nick_name}</td>
        <td>{if condition = "$vo.pid > 0" }{$vo.pid} - {$vo.pid|userInfo}{else/}没有上级{/if}</td>
        <td>{if condition = "$vo.profit_pid > 0" }{$vo.profit_pid} - {$vo.profit_pid|userInfo}{else/}没有上级{/if}</td>
        <td>
            {eq name="vo.role_id" value="0"}
            粉丝
            {else/}
            {$roleList[$vo['role_id']]['role_name']}
            {/eq}
            |
            {eq name='vo.level_id' value='0'}没有等级{else/}{$levelList[$vo.level_id]['level_name']}{/eq}

        </td>

        <td>{$vo.balance_money}</td>
        <td>{$vo.integral_money}</td>
        <td>{$vo.login_time|dateTpl}</td>
        <td>
            <a href="{:url('info',array('user_id'=>$vo['user_id']))}" class="m-xs" title="编缉">
                <i class="fa fa-edit"></i>编缉
            </a>
            <a data-toggle="dropdown" href="javascript:void(0);" class="m-xs" title="编缉">
                更多<i class="fa fa-angle-down"></i>
            </a>
            <ul class="dropdown-menu">
                <li>
                    <a title="重置密码" data-confirm="您确定要重置该会员密码，重置为Abc123456" data-toggle="cfmAjax"
                       href="{:url('restPassword',array('user_id'=>$vo['user_id']))}" class="m-xs"><i
                            class="fa fa-rotate-left text-muted"></i> 重置密码</a>
                </li>
                <li>
                    {eq name="vo.is_ban" value="0"}
                    <a title="封禁会员" data-confirm="您确定要封禁该会员，封禁后则会员则无法登陆? " data-toggle="cfmAjax"
                       href="{:url('evelBan',array('user_id'=>$vo['user_id']))}" class="m-xs"><i
                            class="fa fa-lock text-muted"></i> 封禁会员</a>
                    {else/}
                    <a title="解禁会员" data-confirm="您确定要解禁该会员，解禁后则会员则可正常登陆? " data-toggle="cfmAjax"
                       href="{:url('reBan',array('user_id'=>$vo['user_id']))}" class="m-xs"><i
                            class="fa fa-unlock text-muted"></i> 解禁会员</a>
                    {/eq}
                </li>
                <li class="divider"></li>
                <li>
                    <a href="{:url('shop/sys_admin.order/index',array('user_id'=>$vo['user_id']))}" class="m-xs"
                       title="查看订单"><i class="fa fa-search text-muted"></i> 查看订单</a>
                </li>
                <li>
                    <a href="{:url('sys_admin.accountLog/index',array('user_id'=>$vo['user_id']))}" class="m-xs"
                       title="资金变动明细"><i class="fa fa-dollar text-muted"></i> 资金明细</a>
                </li>
                <li>
                    <a href="{:url('sys_admin.logOperate/index',array('edit_id'=>$vo['user_id']))}" class="m-xs"
                       title="操作日志"><i class="fa fa-calendar text-muted"></i> 操作日志</a>
                </li>
            </ul>
        </td>
    </tr>

    {/volist}
    </tbody>
</table>
{empty name="data.list"}
<table width="100%">
    <tr>
        <td height="300" colspan="8" align="center" valign="middle">没有相关数据！</td>
    </tr>
</table>
{/empty}  